package com.yuand.service;

import com.yuand.entity.SysUser;
import com.yuand.utils.ResponseResult;

/**
 * @ClassName: LoginService
 * @Author: yuandong
 * @Date 2022/1/14 15:25
 */
public interface LoginService {

    /**
     * 登录接口
     * @param user
     * @return
     */
    public ResponseResult login(SysUser user);

    /**
     * 退出接口
     * @return
     */
    public ResponseResult logout();

}
